Replication materials for Glasgow & Golder BJPS, 'A New Approach to the Study of Parties Entering Government'

The 'cabinet_expansion' do file will convert the initial dataset, partydata_BJPS.dta, from party observations into potential government coalition observations.
The 'model_estimation' do file will replicate the results in the article.  

Note that to run the second do file, you may need the mixlpred2.ado, which is provided here.  This ado file was taken from
Glasgow, Golder & Golder 2012 Political Analysis, Vol 20, No 2, pp. 248-270, 'New Empirical Strategies for the Study of Parliamentary Government Formation.'

The data used here is taken from Glasgow, Golder & Golder AJPS 2011, 55(1) pp. 937-954, 'Who "Wins"? Determining the Party of the Prime Minister.'
Much of that data came from the excellent dataset on parties and governments in 17 Western European countries provided by Muller & Strom (2000) and the electronic
Comparative Parliamentary Democracy Archive, CPDA (Str�m, Muller, & Bergman 2008). See http://www.erdda.se/


The partydata_BJPS.dta file contains the following variables.  Other variables are created by the do files (number of parties in each govenrment, minority status, etc.).

cabinetcode - the first digit refers to the country, the next two digits to the cabinet (CPDA)

partyid - codes used by CPDA

countrycode - country code, used by CPDA

cabinetname - cabinets, named by reference to Prime Minister, taken from CPDA

govtcomp - acronyms of parties in government, from CPDA

partyseats - raw number of legislative seats per party, from CPDA

rightleft - measure of each party's position on a left-right scale (-100 left-most point, +100 right-most point), from Comparative Manifesto Group. See https://manifestoproject.wzb.eu/

country - country name

party_seatshare - the percentage of legislative seats controlled by each party

PMparty - is the prime minister from this party? 1=yes, 0=no

previouspm - was the previous prime minister from this party? 1=yes, 0=no

govtparty - is the party in the government? 1=yes, 0=no

prevgovtparty - was the party in the previous government? 1=yes, 0=no